package org.jeecg.common.modules.settlement.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.common.modules.order.vo.OrderInfoReqVo;
import org.jeecg.common.modules.settlement.entity.Settlement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.common.modules.settlement.vo.SettlementDetailReqVo;
import org.jeecg.common.modules.settlement.vo.SettlementReqVo;

/**
 * @Description: settlement
 * @Author: jeecg-boot
 * @Date:   2020-09-03
 * @Version: V1.0
 */
public interface SettlementMapper extends BaseMapper<Settlement> {
    /**
     * 查询
     * @param orderId
     * @param userName
     * @param doctorName
     * @param dataStart
     * @param pageSize
     * @return
     */
    List<SettlementReqVo> selectSettlementInfo(
            @Param("orderId") String orderId,
            @Param("userName") String userName,
            @Param("doctorName") String doctorName,
            @Param("dataStart") Integer dataStart,
            @Param("pageSize") Integer pageSize);

    /**
     * 查询的总条数
     * @param orderId
     * @param userName
     * @param doctorName
     * @return
     */
    int getSettlementCount(
            @Param("orderId") String orderId,
            @Param("userName") String userName,
            @Param("doctorName") String doctorName);


}
